package customerModel

import "fmt"

type Customer struct {
	id     int
	name   string
	gender string
	age    int
	phone  string
	email  string
}

func (c *Customer) NewCustomer(id int, name, gender string, age int, phone, email string) *Customer {
	return &Customer{id, name, gender, age, phone, email}
}

func (c *Customer) GetInfo() {
	fmt.Printf("%v\t%v\t%v\t%v\t%v\t%v\n", c.id, c.name, c.gender, c.age, c.phone, c.email)
}

func (c *Customer) GetId() int {
	return c.id
}

func (c *Customer) ChangeCustomer(name, gender string, age int, phone, email string) {
	c.name = name
	c.gender = gender
	c.age = age
	c.phone = phone
	c.email = email
}
